home *** CD-ROM | disk | FTP | other *** search
/ 1st Multimedia Mac Shareware / Multimedia Shareware CD-ROM - BetaCorp.iso / Educationƒ / Testing / LQ Trainer / background_3262.xml < prev    next >
Encoding:
Extensible Markup Language  |  1992-08-10  |  11.1 KB  |  361 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>3262</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_6539.pbm</bitmap>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_23225.css" />
  11.     <part>
  12.         <id>2</id>
  13.         <type>field</type>
  14.         <visible> <true /> </visible>
  15.         <dontWrap> <false /> </dontWrap>
  16.         <dontSearch> <false /> </dontSearch>
  17.         <sharedText> <false /> </sharedText>
  18.         <fixedLineHeight> <true /> </fixedLineHeight>
  19.         <autoTab> <false /> </autoTab>
  20.         <lockText> <false /> </lockText>
  21.         <rect>
  22.             <left>30</left>
  23.             <top>26</top>
  24.             <right>126</right>
  25.             <bottom>173</bottom>
  26.         </rect>
  27.         <style>transparent</style>
  28.         <autoSelect> <false /> </autoSelect>
  29.         <showLines> <false /> </showLines>
  30.         <wideMargins> <false /> </wideMargins>
  31.         <multipleLines> <false /> </multipleLines>
  32.         <reservedFamily> 0 </reservedFamily>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>0</icon>
  35.         <textAlign>right</textAlign>
  36.         <font>New York</font>
  37.         <textSize>12</textSize>
  38.         <textStyle>bold</textStyle>
  39.         <textHeight>16</textHeight>
  40.         <name>title</name>
  41.         <script></script>
  42.     </part>
  43.     <part>
  44.         <id>3</id>
  45.         <type>field</type>
  46.         <visible> <true /> </visible>
  47.         <dontWrap> <false /> </dontWrap>
  48.         <dontSearch> <false /> </dontSearch>
  49.         <sharedText> <false /> </sharedText>
  50.         <fixedLineHeight> <true /> </fixedLineHeight>
  51.         <autoTab> <false /> </autoTab>
  52.         <lockText> <false /> </lockText>
  53.         <rect>
  54.             <left>131</left>
  55.             <top>26</top>
  56.             <right>476</right>
  57.             <bottom>173</bottom>
  58.         </rect>
  59.         <style>transparent</style>
  60.         <autoSelect> <false /> </autoSelect>
  61.         <showLines> <false /> </showLines>
  62.         <wideMargins> <false /> </wideMargins>
  63.         <multipleLines> <false /> </multipleLines>
  64.         <reservedFamily> 0 </reservedFamily>
  65.         <titleWidth>0</titleWidth>
  66.         <icon>0</icon>
  67.         <textAlign>left</textAlign>
  68.         <font>New York</font>
  69.         <textSize>12</textSize>
  70.         <textStyle>plain</textStyle>
  71.         <textHeight>16</textHeight>
  72.         <name>contents</name>
  73.         <script></script>
  74.     </part>
  75.     <part>
  76.         <id>12</id>
  77.         <type>field</type>
  78.         <visible> <true /> </visible>
  79.         <dontWrap> <false /> </dontWrap>
  80.         <dontSearch> <false /> </dontSearch>
  81.         <sharedText> <false /> </sharedText>
  82.         <fixedLineHeight> <true /> </fixedLineHeight>
  83.         <autoTab> <false /> </autoTab>
  84.         <lockText> <false /> </lockText>
  85.         <rect>
  86.             <left>209</left>
  87.             <top>183</top>
  88.             <right>476</right>
  89.             <bottom>306</bottom>
  90.         </rect>
  91.         <style>transparent</style>
  92.         <autoSelect> <false /> </autoSelect>
  93.         <showLines> <false /> </showLines>
  94.         <wideMargins> <false /> </wideMargins>
  95.         <multipleLines> <false /> </multipleLines>
  96.         <reservedFamily> 0 </reservedFamily>
  97.         <titleWidth>0</titleWidth>
  98.         <icon>0</icon>
  99.         <textAlign>left</textAlign>
  100.         <font>Chicago</font>
  101.         <textSize>12</textSize>
  102.         <textStyle>plain</textStyle>
  103.         <textHeight>24</textHeight>
  104.         <name>buttons</name>
  105.         <script>on closeField
  106. repeat with i = 1 to 5
  107. if line i of field "buttons" is empty then hide button i
  108. else show button i
  109. end repeat
  110. end closeField
  111. </script>
  112.     </part>
  113.     <part>
  114.         <id>16</id>
  115.         <type>field</type>
  116.         <visible> <true /> </visible>
  117.         <dontWrap> <false /> </dontWrap>
  118.         <dontSearch> <false /> </dontSearch>
  119.         <sharedText> <false /> </sharedText>
  120.         <fixedLineHeight> <true /> </fixedLineHeight>
  121.         <autoTab> <false /> </autoTab>
  122.         <lockText> <false /> </lockText>
  123.         <rect>
  124.             <left>261</left>
  125.             <top>319</top>
  126.             <right>489</right>
  127.             <bottom>334</bottom>
  128.         </rect>
  129.         <style>transparent</style>
  130.         <autoSelect> <false /> </autoSelect>
  131.         <showLines> <false /> </showLines>
  132.         <wideMargins> <false /> </wideMargins>
  133.         <multipleLines> <false /> </multipleLines>
  134.         <reservedFamily> 0 </reservedFamily>
  135.         <titleWidth>0</titleWidth>
  136.         <icon>0</icon>
  137.         <textAlign>center</textAlign>
  138.         <font>New York</font>
  139.         <textSize>10</textSize>
  140.         <textStyle>plain</textStyle>
  141.         <textHeight>13</textHeight>
  142.         <name>bottom area</name>
  143.         <script></script>
  144.     </part>
  145.     <part>
  146.         <id>17</id>
  147.         <type>field</type>
  148.         <visible> <true /> </visible>
  149.         <dontWrap> <false /> </dontWrap>
  150.         <dontSearch> <false /> </dontSearch>
  151.         <sharedText> <false /> </sharedText>
  152.         <fixedLineHeight> <true /> </fixedLineHeight>
  153.         <autoTab> <false /> </autoTab>
  154.         <lockText> <false /> </lockText>
  155.         <rect>
  156.             <left>20</left>
  157.             <top>319</top>
  158.             <right>248</right>
  159.             <bottom>334</bottom>
  160.         </rect>
  161.         <style>transparent</style>
  162.         <autoSelect> <false /> </autoSelect>
  163.         <showLines> <false /> </showLines>
  164.         <wideMargins> <false /> </wideMargins>
  165.         <multipleLines> <false /> </multipleLines>
  166.         <reservedFamily> 0 </reservedFamily>
  167.         <titleWidth>0</titleWidth>
  168.         <icon>0</icon>
  169.         <textAlign>center</textAlign>
  170.         <font>New York</font>
  171.         <textSize>10</textSize>
  172.         <textStyle>plain</textStyle>
  173.         <textHeight>13</textHeight>
  174.         <name>bottom title</name>
  175.         <script></script>
  176.     </part>
  177.     <part>
  178.         <id>23</id>
  179.         <type>field</type>
  180.         <visible> <false /> </visible>
  181.         <dontWrap> <false /> </dontWrap>
  182.         <dontSearch> <false /> </dontSearch>
  183.         <sharedText> <false /> </sharedText>
  184.         <fixedLineHeight> <true /> </fixedLineHeight>
  185.         <autoTab> <false /> </autoTab>
  186.         <lockText> <true /> </lockText>
  187.         <rect>
  188.             <left>25</left>
  189.             <top>175</top>
  190.             <right>161</right>
  191.             <bottom>309</bottom>
  192.         </rect>
  193.         <style>shadow</style>
  194.         <autoSelect> <false /> </autoSelect>
  195.         <showLines> <false /> </showLines>
  196.         <wideMargins> <false /> </wideMargins>
  197.         <multipleLines> <false /> </multipleLines>
  198.         <reservedFamily> 0 </reservedFamily>
  199.         <titleWidth>0</titleWidth>
  200.         <icon>0</icon>
  201.         <textAlign>left</textAlign>
  202.         <font>Geneva</font>
  203.         <textSize>12</textSize>
  204.         <textStyle>plain</textStyle>
  205.         <textHeight>16</textHeight>
  206.         <name>backdrop</name>
  207.         <script></script>
  208.     </part>
  209.     <part>
  210.         <id>18</id>
  211.         <type>button</type>
  212.         <visible> <false /> </visible>
  213.         <reserved5> 0 </reserved5>
  214.         <reserved4> 0 </reserved4>
  215.         <reserved3> 0 </reserved3>
  216.         <reserved2> 0 </reserved2>
  217.         <reserved1> 0 </reserved1>
  218.         <enabled> <true /> </enabled>
  219.         <rect>
  220.             <left>28</left>
  221.             <top>178</top>
  222.             <right>155</right>
  223.             <bottom>200</bottom>
  224.         </rect>
  225.         <style>roundrect</style>
  226.         <showName> <true /> </showName>
  227.         <highlight> <false /> </highlight>
  228.         <autoHighlight> <true /> </autoHighlight>
  229.         <sharedHighlight> <true /> </sharedHighlight>
  230.         <family>0</family>
  231.         <titleWidth>0</titleWidth>
  232.         <icon>0</icon>
  233.         <textAlign>center</textAlign>
  234.         <font>Chicago</font>
  235.         <textSize>12</textSize>
  236.         <textStyle>plain</textStyle>
  237.         <name>Create Question</name>
  238.         <script>on mouseUp
  239. put field "bottom title" into bt
  240. ask "What category?" with field "bottom area"
  241. if it is empty then exit mouseUp
  242. else put it into ba
  243. get userLevel
  244. put it into ul
  245. set userLevel to 4
  246. get the number of this card
  247. if it > 2 then go to card (it+5)
  248. push card
  249. go to card "question master"
  250. doMenu copy card
  251. pop card
  252. doMenu paste card
  253. set the name of this card to empty
  254. put bt into field "bottom title"
  255. put ba into field "bottom area"
  256. push card
  257. go to card "answer master"
  258. doMenu copy card
  259. pop card
  260. doMenu paste card
  261. initCard "answer 1",bt,ba
  262. doMenu paste card
  263. initCard "answer 2",bt,ba
  264. doMenu paste card
  265. initCard "answer 3",bt,ba
  266. doMenu paste card
  267. initCard "answer 4",bt,ba
  268. doMenu paste card
  269. initCard "answer 5",bt,ba
  270. get the number of this card
  271. go to card (it-5)
  272. set userLevel to ul
  273. end mouseUp
  274.  
  275. on initCard nm,bt,ba
  276. set the name of this card to empty
  277. put "<<< Place " & nm & " Yes or No here >>>" into field "title"
  278. put bt into field "bottom title"
  279. put ba into field "bottom area"
  280. end initCard
  281. </script>
  282.     </part>
  283.     <part>
  284.         <id>19</id>
  285.         <type>button</type>
  286.         <visible> <false /> </visible>
  287.         <reserved5> 0 </reserved5>
  288.         <reserved4> 0 </reserved4>
  289.         <reserved3> 0 </reserved3>
  290.         <reserved2> 0 </reserved2>
  291.         <reserved1> 0 </reserved1>
  292.         <enabled> <true /> </enabled>
  293.         <rect>
  294.             <left>28</left>
  295.             <top>203</top>
  296.             <right>155</right>
  297.             <bottom>225</bottom>
  298.         </rect>
  299.         <style>roundrect</style>
  300.         <showName> <true /> </showName>
  301.         <highlight> <false /> </highlight>
  302.         <autoHighlight> <true /> </autoHighlight>
  303.         <sharedHighlight> <true /> </sharedHighlight>
  304.         <family>0</family>
  305.         <titleWidth>0</titleWidth>
  306.         <icon>0</icon>
  307.         <textAlign>center</textAlign>
  308.         <font>Chicago</font>
  309.         <textSize>12</textSize>
  310.         <textStyle>plain</textStyle>
  311.         <name>Delete Question</name>
  312.         <script>on mouseUp
  313. answer "Delete the entire question?" with "OK" or "Cancel"
  314. if it is "OK" then
  315. doMenu delete card
  316. doMenu delete card
  317. doMenu delete card
  318. doMenu delete card
  319. doMenu delete card
  320. doMenu delete card
  321. end if
  322. end mouseUp
  323. </script>
  324.     </part>
  325.     <part>
  326.         <id>20</id>
  327.         <type>button</type>
  328.         <visible> <false /> </visible>
  329.         <reserved5> 0 </reserved5>
  330.         <reserved4> 0 </reserved4>
  331.         <reserved3> 0 </reserved3>
  332.         <reserved2> 0 </reserved2>
  333.         <reserved1> 0 </reserved1>
  334.         <enabled> <true /> </enabled>
  335.         <rect>
  336.             <left>28</left>
  337.             <top>258</top>
  338.             <right>155</right>
  339.             <bottom>280</bottom>
  340.         </rect>
  341.         <style>roundrect</style>
  342.         <showName> <true /> </showName>
  343.         <highlight> <false /> </highlight>
  344.         <autoHighlight> <true /> </autoHighlight>
  345.         <sharedHighlight> <true /> </sharedHighlight>
  346.         <family>0</family>
  347.         <titleWidth>0</titleWidth>
  348.         <icon>0</icon>
  349.         <textAlign>center</textAlign>
  350.         <font>Chicago</font>
  351.         <textSize>12</textSize>
  352.         <textStyle>plain</textStyle>
  353.         <name>Next Question</name>
  354.         <script>on mouseUp
  355. get the number of this card
  356. if it is 2 then
  357. go to next card
  358. else
  359. go to card value(it+6)
  360. end if
  361. end mouseUp
  362. </script>
  363.     </part>
  364.     <part>
  365.         <id>21</id>
  366.         <type>button</type>
  367.         <visible> <false /> </visible>
  368.         <reserved5> 0 </reserved5>
  369.         <reserved4> 0 </reserved4>
  370.         <reserved3> 0 </reserved3>
  371.         <reserved2> 0 </reserved2>
  372.         <reserved1> 0 </reserved1>
  373.         <enabled> <true /> </enabled>
  374.         <rect>
  375.             <left>28</left>
  376.             <top>282</top>
  377.             <right>155</right>
  378.             <bottom>304</bottom>
  379.         </rect>
  380.         <style>roundrect</style>
  381.         <showName> <true /> </showName>
  382.         <highlight> <false /> </highlight>
  383.         <autoHighlight> <true /> </autoHighlight>
  384.         <sharedHighlight> <true /> </sharedHighlight>
  385.         <family>0</family>
  386.         <titleWidth>0</titleWidth>
  387.         <icon>0</icon>
  388.         <textAlign>center</textAlign>
  389.         <font>Chicago</font>
  390.         <textSize>12</textSize>
  391.         <textStyle>plain</textStyle>
  392.         <name>Previous Question</name>
  393.         <script>on mouseUp
  394. get the number of this card
  395. if it > 3 then go to card value(it-6)
  396. else go to previous card
  397. end mouseUp
  398. </script>
  399.     </part>
  400.     <part>
  401.         <id>22</id>
  402.         <type>button</type>
  403.         <visible> <false /> </visible>
  404.         <reserved5> 0 </reserved5>
  405.         <reserved4> 0 </reserved4>
  406.         <reserved3> 0 </reserved3>
  407.         <reserved2> 0 </reserved2>
  408.         <reserved1> 0 </reserved1>
  409.         <enabled> <true /> </enabled>
  410.         <rect>
  411.             <left>28</left>
  412.             <top>231</top>
  413.             <right>155</right>
  414.             <bottom>253</bottom>
  415.         </rect>
  416.         <style>roundrect</style>
  417.         <showName> <true /> </showName>
  418.         <highlight> <false /> </highlight>
  419.         <autoHighlight> <true /> </autoHighlight>
  420.         <sharedHighlight> <true /> </sharedHighlight>
  421.         <family>0</family>
  422.         <titleWidth>0</titleWidth>
  423.         <icon>0</icon>
  424.         <textAlign>center</textAlign>
  425.         <font>Chicago</font>
  426.         <textSize>12</textSize>
  427.         <textStyle>plain</textStyle>
  428.         <name>Return to Front</name>
  429.         <script>on mouseUp
  430. go to first card
  431. end mouseUp
  432. </script>
  433.     </part>
  434.     <name></name>
  435.     <script>on openCard
  436. global lastQuestion
  437. put the id of this card into lastQuestion
  438. end openCard
  439. </script>
  440. </background>
  441.